\hypertarget{class_cub_e_1_1_quaternion}{
\section{\-Cub\-E\-:\-:\-Quaternion \-Class \-Reference}
\label{class_cub_e_1_1_quaternion}\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}}
}


{\ttfamily \#include $<$cub\-E\-Math.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_cub_e_1_1_quaternion_acf7cf306b17aa220527896194d95eefc}{\-Quaternion} (void)
\item 
\hyperlink{class_cub_e_1_1_quaternion_ab3674ffe8595142b947e1242ab28152d}{\-Quaternion} (\hyperlink{class_cub_e_1_1_quaternion}{\-Quaternion} const \&other)
\item 
\hyperlink{class_cub_e_1_1_quaternion_a2d78295510373ee2cd8ff9a722e97e0b}{\-Quaternion} (\hyperlink{class_cub_e_1_1_vector3}{\-Vector3} axis, \hyperlink{class_cub_e_1_1_degree}{\-Degree} angle)
\item 
\hyperlink{class_cub_e_1_1_quaternion_ae20aa3909dc8138c55be34ee64981a1c}{\-Quaternion} (\hyperlink{class_cub_e_1_1_vector3}{\-Vector3} axis, \hyperlink{class_cub_e_1_1_radian}{\-Radian} angle)
\item 
\hyperlink{class_cub_e_1_1_quaternion_a275b36cce38e3155f417a5b8648ec5da}{\-Quaternion} (\hyperlink{class_cub_e_1_1_vector3}{\-Vector3} i\-Vec, float r\-W)
\item 
\hyperlink{class_cub_e_1_1_quaternion_a4127e56220a86698e2f58dd2cdb4c23e}{\-Quaternion} (const \hyperlink{class_cub_e_1_1_vector3}{\-Vector3} \&from, const \hyperlink{class_cub_e_1_1_vector3}{\-Vector3} \&dest)
\item 
\hyperlink{class_cub_e_1_1_vector3}{\-Vector3} \hyperlink{class_cub_e_1_1_quaternion_adf19e3d5dd6e0e1319f1d5d4a7dc8340}{\-Get\-Imaginary\-Part} (void) const 
\item 
float \hyperlink{class_cub_e_1_1_quaternion_a89b0c07d0c46eb2deee6b9535440038d}{\-Get\-Real\-Part} (void) const 
\item 
\hyperlink{class_cub_e_1_1_quaternion}{\-Quaternion} \hyperlink{class_cub_e_1_1_quaternion_a6639ddb99e553787966ee9ae3e72c783}{\-Get\-Conjugate} (void) const 
\item 
\hyperlink{class_cub_e_1_1_quaternion}{\-Quaternion} \hyperlink{class_cub_e_1_1_quaternion_aaba5335b17d70c51f3a70528e35d8253}{operator$\ast$} (const \hyperlink{class_cub_e_1_1_quaternion}{\-Quaternion} \&other) const 
\item 
void \hyperlink{class_cub_e_1_1_quaternion_a5e3e5cddd61fb9aede7245a45a2c5977}{\-Normalize} (void)
\item 
bool \hyperlink{class_cub_e_1_1_quaternion_a91f7fca1bb14d1bf4c590e0bf48e9b39}{\-Is\-Normalized} (void)
\item 
float \hyperlink{class_cub_e_1_1_quaternion_abd4f1526e37636421564f6b7e954dbd1}{\-Get\-Length} (void)
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{class_cub_e_1_1_quaternion_acf7cf306b17aa220527896194d95eefc}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Quaternion@{\-Quaternion}}
\index{\-Quaternion@{\-Quaternion}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}\-Cub\-E\-::\-Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_acf7cf306b17aa220527896194d95eefc}
\hypertarget{class_cub_e_1_1_quaternion_ab3674ffe8595142b947e1242ab28152d}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Quaternion@{\-Quaternion}}
\index{\-Quaternion@{\-Quaternion}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}\-Cub\-E\-::\-Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
\item[{{\bf \-Quaternion} const \&}]{other}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_ab3674ffe8595142b947e1242ab28152d}
\hypertarget{class_cub_e_1_1_quaternion_a2d78295510373ee2cd8ff9a722e97e0b}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Quaternion@{\-Quaternion}}
\index{\-Quaternion@{\-Quaternion}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}\-Cub\-E\-::\-Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
\item[{{\bf \-Vector3}}]{axis, }
\item[{{\bf \-Degree}}]{angle}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_a2d78295510373ee2cd8ff9a722e97e0b}
\hypertarget{class_cub_e_1_1_quaternion_ae20aa3909dc8138c55be34ee64981a1c}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Quaternion@{\-Quaternion}}
\index{\-Quaternion@{\-Quaternion}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}\-Cub\-E\-::\-Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
\item[{{\bf \-Vector3}}]{axis, }
\item[{{\bf \-Radian}}]{angle}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_ae20aa3909dc8138c55be34ee64981a1c}
\hypertarget{class_cub_e_1_1_quaternion_a275b36cce38e3155f417a5b8648ec5da}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Quaternion@{\-Quaternion}}
\index{\-Quaternion@{\-Quaternion}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}\-Cub\-E\-::\-Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
\item[{{\bf \-Vector3}}]{i\-Vec, }
\item[{float}]{r\-W}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_a275b36cce38e3155f417a5b8648ec5da}
\hypertarget{class_cub_e_1_1_quaternion_a4127e56220a86698e2f58dd2cdb4c23e}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Quaternion@{\-Quaternion}}
\index{\-Quaternion@{\-Quaternion}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}\-Cub\-E\-::\-Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
\item[{const {\bf \-Vector3} \&}]{from, }
\item[{const {\bf \-Vector3} \&}]{dest}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_a4127e56220a86698e2f58dd2cdb4c23e}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_cub_e_1_1_quaternion_a6639ddb99e553787966ee9ae3e72c783}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Get\-Conjugate@{\-Get\-Conjugate}}
\index{\-Get\-Conjugate@{\-Get\-Conjugate}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Get\-Conjugate}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Quaternion} \-Cub\-E\-::\-Quaternion\-::\-Get\-Conjugate (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const}}
\label{class_cub_e_1_1_quaternion_a6639ddb99e553787966ee9ae3e72c783}
\hypertarget{class_cub_e_1_1_quaternion_adf19e3d5dd6e0e1319f1d5d4a7dc8340}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Get\-Imaginary\-Part@{\-Get\-Imaginary\-Part}}
\index{\-Get\-Imaginary\-Part@{\-Get\-Imaginary\-Part}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Get\-Imaginary\-Part}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Vector3} \-Cub\-E\-::\-Quaternion\-::\-Get\-Imaginary\-Part (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cub_e_1_1_quaternion_adf19e3d5dd6e0e1319f1d5d4a7dc8340}
\hypertarget{class_cub_e_1_1_quaternion_abd4f1526e37636421564f6b7e954dbd1}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Get\-Length@{\-Get\-Length}}
\index{\-Get\-Length@{\-Get\-Length}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Get\-Length}]{\setlength{\rightskip}{0pt plus 5cm}float \-Cub\-E\-::\-Quaternion\-::\-Get\-Length (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_abd4f1526e37636421564f6b7e954dbd1}
\hypertarget{class_cub_e_1_1_quaternion_a89b0c07d0c46eb2deee6b9535440038d}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Get\-Real\-Part@{\-Get\-Real\-Part}}
\index{\-Get\-Real\-Part@{\-Get\-Real\-Part}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Get\-Real\-Part}]{\setlength{\rightskip}{0pt plus 5cm}float \-Cub\-E\-::\-Quaternion\-::\-Get\-Real\-Part (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_cub_e_1_1_quaternion_a89b0c07d0c46eb2deee6b9535440038d}
\hypertarget{class_cub_e_1_1_quaternion_a91f7fca1bb14d1bf4c590e0bf48e9b39}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Is\-Normalized@{\-Is\-Normalized}}
\index{\-Is\-Normalized@{\-Is\-Normalized}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Is\-Normalized}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Cub\-E\-::\-Quaternion\-::\-Is\-Normalized (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_a91f7fca1bb14d1bf4c590e0bf48e9b39}
\hypertarget{class_cub_e_1_1_quaternion_a5e3e5cddd61fb9aede7245a45a2c5977}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!\-Normalize@{\-Normalize}}
\index{\-Normalize@{\-Normalize}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{\-Normalize}]{\setlength{\rightskip}{0pt plus 5cm}void \-Cub\-E\-::\-Quaternion\-::\-Normalize (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{class_cub_e_1_1_quaternion_a5e3e5cddd61fb9aede7245a45a2c5977}
\hypertarget{class_cub_e_1_1_quaternion_aaba5335b17d70c51f3a70528e35d8253}{
\index{\-Cub\-E\-::\-Quaternion@{\-Cub\-E\-::\-Quaternion}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!CubE::Quaternion@{\-Cub\-E\-::\-Quaternion}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Quaternion} \-Cub\-E\-::\-Quaternion\-::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Quaternion} \&}]{other}
\end{DoxyParamCaption}
) const}}
\label{class_cub_e_1_1_quaternion_aaba5335b17d70c51f3a70528e35d8253}


\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
cub\-E/\hyperlink{cub_e_math_8h}{cub\-E\-Math.\-h}\end{DoxyCompactItemize}
